package com.quarantine.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
 * 管理员
 * @author Administrator
 *
 */
@Entity
@Table(name = "administrator")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class administrator extends IdEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2278793155553924463L;
	private String loginName;//登陆名
	private String password;//密码
 

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
